// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.ast.statement.SQLShowStatement;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "DrdsShowGlobalIndex.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/MySqlASTVisitor.h"

void DrdsShowGlobalIndex::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(DrdsShowGlobalIndex));
  visitor->endVisit(SharedObject(DrdsShowGlobalIndex));
}

SQLName_ptr DrdsShowGlobalIndex::getTableName()
{
  return tableName;
}

void DrdsShowGlobalIndex::setTableName(SQLName_ptr tableName)
{
  tableName->setParent(SharedObject(DrdsShowGlobalIndex));
  this->tableName = tableName;
}
